//
//  SiterUserNetManager.h
//  Pods
//
//  Created by Henry on 2023/1/10.
//

#ifndef SiterUserNetManager_h
#define SiterUserNetManager_h

#import "SiterBaseNetManager.h"

@interface SiterUserNetManager : SiterBaseNetManager

+ (void) getProfile:(void(^)(id,NSError *,NSError *)) handler;

+ (void) modifyProfile:(NSDictionary *)params handle:(void(^)(id,NSError *,NSError *)) handler;

//修改免打扰状态
+ (void) modifyDisturbState:(NSString *)status handle:(void(^)(id,NSError *,NSError *)) handler;

+ (void) modifyPassword:(NSDictionary *)params handle:(void(^)(id,NSError *,NSError *)) handler;

+ (void) bindPushTag:(NSString *)register_token handle:(void(^)(id,NSError *,NSError *)) handler;

+ (void) unBindPushTag:(NSString *)register_token handle:(void(^)(id,NSError *,NSError *)) handler;

+ (void) getFeedBackTypeList:(void(^)(id,NSError *,NSError *)) handler;

+ (void) getFeedBackList:(void(^)(id,NSError *,NSError *)) handler;

//获取用户反馈详情
+ (void) getFeedBackDetail:(NSString *)feedId handle:(void(^)(id,NSError *,NSError *)) handler;

//新增意见反馈问题
+ (void) submitFeedBack:(NSString *)content withThingName:(NSString *)thingName withFileUrl:(NSString *)fileUrl withFrequency:(NSString *)frequency withType:(NSString *)fbType withHandler:(void(^)(id,NSError *,NSError *)) handler;

//获取用户反馈详情
+ (void)replyToFeedbackDetail:(NSString *)feedId withContent:(NSString *)content handle:(void(^)(id,NSError *,NSError *)) handler;

+ (void)endFeedbackDetail:(NSString *)feedId handle:(void(^)(id,NSError *,NSError *)) handler;

//获取消息中心列表
+ (void) getMessageCenterList:(NSNumber *)pageNum withPageSize:(NSNumber *)pageSize withType:(NSString *)type withHandler:(void(^)(id,NSError *,NSError *)) handler;

//注销账号
+ (void) unRegister:(void(^)(id,NSError *,NSError *)) handler;

//获取code(音箱用)
+ (void)getCode:(NSString *)redirectUri handle:(void(^)(id,NSError *,NSError *)) handler;

//获取天气信息
+ (void)getweather:(double)lat withLon:(double)lon handle:(void(^)(id,NSError *,NSError *)) handler;

//绑定亚马逊账号
+ (void)enableAwsAlexa:(NSString *)awscode handle:(void(^)(id,NSError *,NSError *)) handler;

//查询亚马逊授权状态
+ (void)getAwsAlexaStatus:(void(^)(id,NSError *,NSError *)) handler;

//解除亚马逊账号授权
+ (void)disableAwsAlexa:(void(^)(id,NSError *,NSError *)) handler;

//获取谷歌授权状态
+ (void)getGoogleHomeStatus:(void(^)(id,NSError *,NSError *)) handler;

//谷歌home授权code获取之前调用
+ (void)createGoogleHomeAuth:(void(^)(id,NSError *,NSError *)) handler;

//取消谷歌关联接口
+ (void)disableGoogleHome:(void(^)(id,NSError *,NSError *)) handler;

//获取未读消息数量
+ (void) getUnReadNum:(NSString *)type  withHandler:(void(^)(id,NSError *,NSError *)) handler;

//设置全部已读
+ (void) setAllRead:(void(^)(id,NSError *,NSError *)) handler;

//设置多条消息已读
+ (void) setMessageRead:(NSArray *)messageIds withHandler:(void(^)(id,NSError *,NSError *)) handler;

//上传日志
+ (void) uploadConfigLog:(NSString *)thingName withContent:(NSString *)content withHandler:(void(^)(id,NSError *,NSError *)) handler;

//获取设备分享列表
+ (void) getShareMemberList:(NSString *)thingName withHandler:(void(^)(id,NSError *,NSError *)) handler;

//创建设备分享
+ (void) createDeviceShare:(NSString *)thingName withUsername:(NSString *)username withHandler:(void(^)(id,NSError *,NSError *)) handler;

//设备分享同意或者拒绝
+ (void) operateDeviceShare:(NSString *)messageId withUsername:(NSString *)option withHandler:(void(^)(id,NSError *,NSError *)) handler;

//设备校验已分享人数
+ (void) getShareCount:(NSString *)thingName withHandler:(void(^)(id,NSError *,NSError *)) handler;

//主动扫码分享
+ (void) deviceShareRequest:(NSString *)thingName withShareKey:(NSString *)shareKey withHandler:(void(^)(id,NSError *,NSError *)) handler;

//获取设备的被分享人员
+ (void) getShareMemberInfo:(NSString *)thingName withHandler:(void(^)(id,NSError *,NSError *)) handler;

//取消设备分享人员
+ (void) deviceShareCancel:(NSString *)thingName withUsername:(NSString *)username withHandler:(void(^)(id,NSError *,NSError *)) handler;

//取消设备分享人员
+ (void) deviceShareDelete:(NSString *)thingName withUsername:(NSString *)username withId:(NSNumber *)messageId withHandler:(void(^)(id,NSError *,NSError *)) handler;

//获取意见反馈未读消息数量
+ (void) getFbUnReadNum:(void(^)(id,NSError *,NSError *)) handler;

@end

#endif /* SiterUserNetManager_h */
